import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'

//导入 Home, Login 组件
import Login from '../Login.vue'
import Home from '../Home.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: '/Login',
        component: Login
    },
    {
        path: '/Home',
        component: Home
    }]
})

export default router